class Person {
    constructor(username, password, email) {
        this.username = username;
        this.password = password;
        this.email = email;
    }
}

const obj = new Person("rui", "123", "123@qq.com");
console.log(obj.username);
